@import "./../../assets/css/main.scss";

.upload {
    background-color: #fff;
    width: $wrapW;
    min-height: 100vh;
    padding: 50px 30px;
    margin: 0 auto;
    box-sizing: border-box;
    &>h1 {
        margin-bottom: 50px;
        text-align: center;
        font-size: 30px;
        color: $defC3;
    }
    .footer {
        text-align: right;
    }
}
.el-icon-plus {
    color: #aaa;
    cursor: pointer;
}
.el-tag {
    margin-right: 10px;
    margin-bottom: 10px;
}
.el-dialog {
    .el-tag {
        cursor: pointer;
    }
    .input-new-tag {
        width: 180px;
    }
}

.img_file {
    display: block;
    border: 1px dashed #ddd;
    border-radius: 3px;
    width: 200px;
    height: 200px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    &:hover {
        border-color:$defC3;
        i {
            color:$defC3;
        }
    }
    i {
        position: absolute;
        z-index: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        color: #ddd;
        font-size: 30px;
    }
    img {
        position: relative;
        z-index: 0;
        height: 100%;
        margin: 0 -100px;
    }
}
#artImg {
    display: block;
    width: 0;
    height: 0;
    opacity: 0;
}